package com.feng.spring5.bean;

import org.springframework.beans.factory.annotation.Value;

public class Dept {
    @Value("程序研發部")
    private String dname;

    public void setDname(String dname) {
        this.dname = dname;
    }

    @Override
    public String toString() {
        return "Dept{" +
                "dname='" + dname + '\'' +
                '}';
    }
}
